n=int(input())
sum=0
for i in range(1,n+1,2):
    ans=1
    for j in range(1,i+1):
        ans*=j
    sum+=ans
print("n=%d,s=%d"%(n,sum))